// app.js
App({
  onLoad: function (option) { },
  onLaunch() {
    let phone = wx.getStorageSync('phoneNumber')
    if (phone.length != 11) {
      wx.reLaunch({
        url: '/pages/login/login'
      })
    }
  },
  globalData: {
    // 设置水印文本内容
    watermarkText: 'Your Watermark Text',
    token: '',
    // 一级权限代码
    firstCode: 927360369,
    // 二级权限代码
    secondCode: 213261619,
    adminPhoneList: ["13697003363", "13970670215", "13979979644", "13707998912", "18979936529", "13979999195", "15907990289", "13707996480", "18979951421", "13607996682", "18079284672"],
    // 上传图片url
    uploadImgBaseUrl: "https://xtianchuang.com/tc",

    // 服务器url
    //apiBaseUrl: "http://192.168.110.6:8099/clap",
    apiBaseUrl: "https://wxb.xiangwangsoft.top:666/clap"
  }
})
